"""
配置爬虫基础数据
"""
# ----SMTP 相关配置----
import os


# ----instagram 账号----
import base_settings

INS_DOMAIN = 'instagram.com'
INS_ACCOUNT = '888'
INS_PASSWORD = '888'

# ----爬虫设置----
# 基本设置
SPIDER_START_THREAD = 1 # 爬虫线程数（尚未完善...）
SPIDER_START_URL = 'https://www.google.com.hk'

SPIDER_SEARCH_SITE = 'instagram.com'
SPIDER_SEARCH_WORDS = '"@gmail.com"'
SPIDER_DRIVER_DATA_DIR = base_settings.PB + '\Browser\Runtime\\'
SPIDER_RAND_TARGET_RESIDENCE_MAX_TIME_PER_PAGE = 50  # 目标页随机停留的最大时间
# Google搜索引擎设置
SPIDER_GOOGLE_SEARCH_RAND_WAITE_MAX_TIME_PER_PAGE = 15  # 搜索每页随机等待时间，最少等待五秒

# ----邮件配置----
# 邮件发送内容
EMAIL_SENT_CONTENT = '''
Hi
I am the marketing manager from aiweline.
Our profile is as follows:
aiweline is a women shoes brand started online business in 2015 and have a self-owned factory, our customers are from all over the world.
We have thousands of fashion women shoe styles on our website for selecting and providing customization services as well. 
Know more about us at
https://www.aiweline.com/
Our budget is
a pair of free shoes and 15%commission of sales which come from your post.
'''
EMAIL_SUBJECT = 'Business Inquiry'

# ----筛选配置----
# 粉丝筛选范围
FANS_MAX_NUMBER = 200000
FANS_MIN_NUMBER = 9900
